<?=$this->form($this->element->getName(),$this->element->getAttribs(),false); ?>
<?php
echo $this->renderElement($this->element->codtramiteseccion);
echo $this->renderElement($this->element->codtramiteelemento);
echo $this->renderElement($this->element->codescala);
echo $this->renderElement($this->element->valoracion);
?>
<table width="100%" align="center" class="iceDatTbl">
	<tr>
	 <th colspan="2">
	 	<table width="100%">
	 	 <tr>
			 <td width="3%"><?php
			         $jus = $this->element->justificacionvaloracion->getValue();
			         if (!empty($jus)){
			             $baseUrl = Zend_Controller_Front::getInstance ()->getBaseUrl();
			             
			             echo "<img src=\"{$baseUrl}/img/success.png\"/>";
			         }
			      ?>
			 </td>
            <td><?php echo $this->element->txtescala->renderLabel (); ?></td>
         </tr>
        </table>
      </th>
	</tr>
  <tr>
  	<th width="30%">Juicio : </th>
	<td width="70%"><?php echo $this->renderElement ( $this->element->txtescala );?></td>
  </tr>
 <tr>
 	<th width="30%"><?php echo $this->element->txtvaloracion->renderLabel (); ?></th>
	<td width="70%"><?php echo $this->renderElement ( $this->element->txtvaloracion );?></td>
  </tr>
<!--<tr>
 	<th width="20%">< ?php echo $this->element->porcentaje->renderLabel (); ?></th>
	<td width="80%">< ?php echo $this->renderElement ( $this->element->porcentaje );?></td>
  </tr>
-->
<tr>
	<th colspan="2"><?php echo $this->element->justificacionvaloracion->renderLabel ();?></th>
  </tr>
 <tr>
	<td colspan="2"><?php echo $this->element->justificacionvaloracion->render(); ?></td>
  </tr>
  <?php if (!$this->element->isStatic()): ?>
  <tr>
   <td colspan="4" style="text-align: center;">
    <?php	echo $this->element->btnSubmit->render(); ?>
   </td>
  </tr>
  <?php endif;?>
</table>
</form>